<%@page contentType="text/html"%>
<%@page pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="s" uri="/struts-tags" %> 

<div id="sidebar">	

	<s:if test="%{admin}">
		<h2>Pendaftaran Anggota</h2> 
            <ul> 
                <li><a href="showSearchReg.action">Pencarian</a></li> 
                <li><a href="showAddReg.action">Tambah</a></li>                   
            </ul> 	
	</s:if>
		
	<h2>Matriks Anggota</h2> 
            <ul> 
                <li><a href="showMatrix.action">Lihat Matriks</a></li>                                   
            </ul>                                    
            
    <h2>Administrasi</h2>
    	<ul> 
        	<li><a href="doLogout.action">Logout</a></li>               	        	
        	
        	<s:if test="%{!admin}">
        		<li><a href="showChangePassword.action">Rubah Kata Kunci</a></li>
        	</s:if>
        	        	                                    	
        </ul> 
</div> 